<template>
  <div>
    <div class="container">
     


      <div class="header" v-show="!this.$route.meta.ShowAndHide">
        <div class="caption">七猫小说</div>

        <router-link tag="div" to="/PersonalCenter" class="person">
          <svg
            t="1666604129353"
            class="icon"
            viewBox="0 0 1024 1024"
            version="1.1"
            xmlns="http://www.w3.org/2000/svg"
            p-id="5365"
            width="200"
            height="200"
          >
            <path
              d="M656.07 492.812a266.713 266.713 0 1 0-284.302 0C176.37 554.853 41.734 748.972 41.734 991.38a31.98 31.98 0 1 0 63.96 0c0-261.276 174.61-458.593 406.466-458.593S918.306 730.743 918.306 991.38a31.98 31.98 0 0 0 63.96 0c0-240.81-133.037-434.288-326.196-498.568zM311.965 266.713a202.753 202.753 0 1 1 202.753 202.754 203.073 203.073 0 0 1-202.753-202.754z"
              p-id="5366"
              fill="#2c2c2c"
            ></path>
          </svg>
        </router-link>
      </div>

      <div class="nav" v-show="!this.$route.meta.ShowAndHide">
        <router-link tag="a" to="/RecommendView" class="con">推荐</router-link>
        <router-link tag="a" to="/ClassifyView">分类</router-link>
        <router-link tag="a" to="/SearchView">搜索</router-link>
        <router-link tag="a" to="/TransLation">书架</router-link>
      </div>

      <router-view></router-view>

    
    </div>
  </div>
</template>

<script>

// import BannerVue from "./components/BannerVue.vue"
export default {
  components: {
    // BannerVue
    
  },
};
</script>

<style lang="scss" scoped>
* {
  padding: 0;
  margin: 0;
}
.container {
  max-width: 750px;
  min-width: 320px;
  margin: 0 auto;
  .nav {
    display: flex;
    justify-content: space-around;
    background-color: #ffffff;
    a {
      height: 40px;
      line-height: 40px;
      justify-content: space-around;
      font-size: 18px;
      color: #666666;
      padding: 0 16px;
    
    }
    // .con{
    //     color: #ff9744;
    //   border-bottom: 2px solid #ff9744;
    // }
    .router-link-active {
      color: #ff9744;
      border-bottom: 2px solid #ff9744;
    }
  }

  .publicbox {
    background-color: #ffffff;
    margin-bottom: 10px;
  }
}
a {
  text-decoration: none;
  .icon {
    width: 14px;
    height: 14px;
    color: #999999;
    padding-left: 2px;
  }
}
ul,
ol {
  list-style: none;
  list-style: none;
}
html,
body {
  width: 100%;
  height: 100%;
  background-color: #f5f5f5;
}
.header {
  height: 58px;
  display: flex;
  justify-content: space-between;
align-items: center;
  // padding-top: 2px;
  background-color: #ffffff;
  padding-left: 14px;
  padding-right: 14px;
  // margin-right: 10px;

  .caption {
    font-size: 20px;
    font-weight: bold;
    color: #000;
  }

  .person {
    width: 20px;
    height: 20px;
    .icon {
      width: 20px;
      height: 20px;
    }
  }

  // .headerbox {
  //   text-align: center;
  //   border-radius: 20px;
  //   padding-left: 14px;
  //   padding-right: 14px;
  //   margin-right: 10px;
  //   &:nth-child(1) {
  //     margin-right: 20px;
  //     background-color: #ffa55b;
  //     a {
  //       color: #ffffff;
  //     }
  //   }
  //   &:nth-child(2) {
  //     background-color: #ffffff;
  //     border: 1px solid #ffa55b;
  //   }
  //   a {
  //     color: #ffae6b;
  //     height: 34px;
  //     line-height: 34px;
  //     font-size: 16px;
  //   }
  // }
}
img {
  width: 100%;
  height: auto;
}
.publicbox {
  .title {
    display: flex;
    padding-right: 22px;
    padding-left: 22px;
    justify-content: space-between;
    padding-top: 5px;
    a {
      height: 30px;
      line-height: 30px;
      font-weight: normal;
      &:nth-child(1) {
        font-size: 20px;
        color: #ff8800;
      }
      &:nth-child(2) {
        font-size: 16px;
        color: #999999;
      }
    }
  }
}
.module-body {
  .book-media {
    display: flex;
    padding: 22px 22px;
    justify-content: space-between;
    .imgbox {
      img {
        width: auto;
        height: 92px;
      }
    }
    .textbox {
      display: flex;
      height: 78px;
      flex-direction: column;
      margin-left: 16px;
      h3 {
        font-size: 16px;
        color: #333333;
        font-weight: normal;
      }
      p {
        font-size: 14px;
        color: #999999;
        margin: 7px 0;
      }
    }
  }
  ul {
    li {
      display: flex;
      padding: 0 22px;
      .txt {
        height: 46px;
        line-height: 46px;
        &:nth-child(2) {
          padding-left: 10px;
          color: #333333;
        }
        &:nth-child(1) {
          color: #999999;
        }
      }
    }
  }
}

.b-info {
  display: flex;
  justify-content: space-between;
  .b-num {
    font-size: 13px;
    color: #999999;
  }
  .b-cate {
    font-size: 12px;
    color: #999999;
    border: 1px solid #e2e2e2;
    padding: 0 2px;
  }
}
</style>